package com.demo.design.stractural.bridge;

import com.demo.design.stractural.bridge.impl.BradgeImpl;
import com.demo.design.stractural.bridge.impl.Friult;

public class BridgeMain {

    public static void main(String[] args) {
        Product fruit = new Friult();
        Bridge bridge = new BradgeImpl();
        bridge.setProduct(fruit);
        bridge.display();
    }
}
